using ARNetToC;
using System;
using System.Runtime.InteropServices;
namespace BMC.ARSystem
{
	[ClassInterface, Guid("17db2855-e4d8-4d30-9ff4-903c5bf5eb22"), ProgId("BMC.ARSystem.AdminToolObjectOpener")]
	public class AdminToolObjectOpener
	{
		private enum ServerObjectType
		{
			SERVEROBJSCHEMA,
			SERVEROBJSCHEMADATA,
			SERVEROBJACTLINK,
			SERVEROBJMENU,
			SERVEROBJFILTER,
			SERVEROBJESCALATION,
			SERVEROBJGROUP,
			SERVEROBJDISTMAP,
			SERVEROBJCONTAINER,
			SERVEROBJACTIVELINKGUIDE,
			SERVEROBJFILTERGUIDE,
			SERVEROBJAPPLICATION,
			SERVEROBJPACKINGLIST,
			SERVEROBJWEBSERVICE,
			SERVEROBJDSOPOOL,
			SERVEROBJEXTENSION,
			SERVEROBJNUMTYPES
		}
		public void OpenForm(string serverName, string name)
		{
			object[] v = new object[]
			{
				"OpenObjectInAdminTool",
				serverName,
				name,
				0
			};
			this._EvalVoidReturn(v);
		}
		public void OpenActiveLink(string serverName, string name)
		{
			object[] v = new object[]
			{
				"OpenObjectInAdminTool",
				serverName,
				name,
				2
			};
			this._EvalVoidReturn(v);
		}
		public void OpenMenu(string serverName, string name)
		{
			object[] v = new object[]
			{
				"OpenObjectInAdminTool",
				serverName,
				name,
				3
			};
			this._EvalVoidReturn(v);
		}
		public void OpenFilter(string serverName, string name)
		{
			object[] v = new object[]
			{
				"OpenObjectInAdminTool",
				serverName,
				name,
				4
			};
			this._EvalVoidReturn(v);
		}
		public void OpenEscalation(string serverName, string name)
		{
			object[] v = new object[]
			{
				"OpenObjectInAdminTool",
				serverName,
				name,
				5
			};
			this._EvalVoidReturn(v);
		}
		public void OpenActiveLinkGuide(string serverName, string name)
		{
			object[] v = new object[]
			{
				"OpenObjectInAdminTool",
				serverName,
				name,
				9
			};
			this._EvalVoidReturn(v);
		}
		public void OpenFilterGuide(string serverName, string name)
		{
			object[] v = new object[]
			{
				"OpenObjectInAdminTool",
				serverName,
				name,
				10
			};
			this._EvalVoidReturn(v);
		}
		public void OpenApplication(string serverName, string name)
		{
			object[] v = new object[]
			{
				"OpenObjectInAdminTool",
				serverName,
				name,
				11
			};
			this._EvalVoidReturn(v);
		}
		public void OpenPackingList(string serverName, string name)
		{
			object[] v = new object[]
			{
				"OpenObjectInAdminTool",
				serverName,
				name,
				12
			};
			this._EvalVoidReturn(v);
		}
		public void OpenWebServiceContainer(string serverName, string name)
		{
			object[] v = new object[]
			{
				"OpenObjectInAdminTool",
				serverName,
				name,
				13
			};
			this._EvalVoidReturn(v);
		}
		private void _EvalVoidReturn(object v)
		{
			API.eval(v);
		}
	}
}
